package com.ruoyi.group.service.impl;

import com.ruoyi.group.domain.SysDeptaaa;
import com.ruoyi.group.domain.dto.RpRepairOrderMaxDto;
import com.ruoyi.group.mapper.OrderAssignMapper;
import com.ruoyi.group.service.OrderAssignService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author:黄志超
 * @Todo:TODO
 * @DateTime:2022/3/18 14:19
 * @Component:蜗牛
 **/
@Service
public class OrderAssignServiceImpl implements OrderAssignService {
    
    @Resource
    OrderAssignMapper orderAssignMapper;

    @Override
    public List<RpRepairOrderMaxDto> find(String orderNo , Integer status) {
        
        return  orderAssignMapper.find(orderNo , status);
    }

    @Override
    public  List<SysDeptaaa> findDept() {
        return orderAssignMapper.findDept();
    }


    @Override
    public List<SysDeptaaa> findDeptss(int dept_id) {
        return  orderAssignMapper.findDeptss(dept_id);

    }
}
